package io.vertx.kue.example

import io.vertx.core.*
import io.vertx.kotlin.core.json.*
import io.vertx.kue.queue.*

fun main(args: Array<String>) {
    val vertx = Vertx.vertx(VertxOptions(json {
        obj("warningExceptionTime" to 100L * 1000 * 1000000,
                "blockedThreadCheckInterval" to 100 * 1000)
    }))
    vertx.deployVerticle(KueVerticle())
    vertx.deployVerticle(LearningVertxVerticle())
//    vertx.deployVerticle(DelayedEmailVerticle())
}